package com.kws.merchant.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.kws.merchant.domain.AfterSalesHistory;
import com.kws.merchant.domain.AfterSalesMalfunction;
import com.kws.merchant.domain.po.AfterSalesMalfunctionPo;
import com.kws.merchant.domain.vo.AfterSalesWarrantyVo;

import java.util.List;

/**
 * 售后-故障单(AfterSalesMalfunction)表服务接口
 *
 * @author yxy
 * @since 2024-10-22 19:23:10
 */
public interface AfterSalesMalfunctionService extends IService<AfterSalesMalfunction> {

    /**
     * 分页查询列表
     *
     * @param afterSalesMalfunctionPo
     * @return
     */
    Page<AfterSalesMalfunction> pageList(AfterSalesMalfunctionPo afterSalesMalfunctionPo);

    AfterSalesMalfunction detailById(Long id);

    boolean delete(List<Long> idList);

    /**
     * 处理故障单
     * @return
     */
    boolean dispose(AfterSalesMalfunction afterSalesMalfunction);
}
